package com.hongdee.crm.remindClose.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarRemindClose
 * 类  型:${TYPE}
 * 描  述:
 * 路  径:com.hongdee.crm.remindClose.entity
 * 作  者: 术洪超
 * 日  期:2017-03-21 09:40
 */

@Entity
@Table(name = "T_CRM_CAR_REMINDCLOSE")
public class TCrmCarRemindClose extends BaseEntity {

    //车辆 ID
    @Column(name = "user_carid", length = 64, columnDefinition = "VARCHAR(64) COMMENT '车辆ID'")
    private String userCarid;

    //车辆 VIN、车牌号、车辆联系人、车辆联系电话
    @Column(name = "vin", length = 64, columnDefinition = "VARCHAR(64) COMMENT '车架号'")
    private String vin;

    //车牌号
    @Column(name = "plate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    //车主
    @Column(name = "owner_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主'")
    private String ownerName;

    //上次维修时间
    @Column(name = "last_maintain_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '上次维修时间'")
    private String lastMaintainDate;

//    //车主电话
//    @Column(name = "owner_phone", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主电话'")
//    private String ownerPhone;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司 ID'")
    private String companyId;

    @Column(name = "type_pcode", length = 32, columnDefinition = "VARCHAR(32) COMMENT '任务大类'")
    private String typePcode;

    public String getTypePcode() {
        return typePcode;
    }

    public void setTypePcode(String typePcode) {
        this.typePcode = typePcode;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    @Column(name = "type_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '任务小类'")
    private String typeCode;

    public String getLastMaintainDate() {
        return lastMaintainDate;
    }

    public void setLastMaintainDate(String lastMaintainDate) {
        this.lastMaintainDate = lastMaintainDate;
    }

    public String getUserCarid() {
        return userCarid;
    }

    public void setUserCarid(String userCarid) {
        this.userCarid = userCarid;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

//    public String getOwnerPhone() {
//        return ownerPhone;
//    }
//
//    public void setOwnerPhone(String ownerPhone) {
//        this.ownerPhone = ownerPhone;
//    }
}
